.wos-release {
  width: 100%;
  height: 100%;
  overflow: hidden;
  text-shadow: none;

  &__toolbar {
    display: flex;
    gap: 8px;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    height: 34px;
    padding: 8px 0;
    color: var(--el-text-color-primary);
    background-color: var(--wos-box-right-bg);

    &-left,
    &-right {
      display: flex;
      gap: 8px;
      align-items: center;
      font-size: 12px;
    }

    .item {
      padding: 4px 8px;
      cursor: pointer;
      border-radius: 4px;

      &:hover {
        background-color: rgb(255 255 255 / 10%);
      }
    }
  }

  .side-left {
    width: 100%;
    height: 100%;
    overflow: hidden;

    .toolbar {
      display: flex;
      gap: 8px;
      align-items: center;
      justify-content: space-between;
      width: 100%;
      height: auto;
      padding: 8px;
      border-bottom: 1px solid var(--wos-border-color);

      .btn-group {
        display: flex;
        gap: 8px;
        align-items: center;
        justify-content: space-between;

        .el-button + .el-button {
          margin-left: 0;
        }
      }
    }

    .content {
      display: flex;
      flex: 1;
      flex-direction: column;
      gap: 8px;
      width: 100%;
      height: calc(100% - 42px);
      overflow: hidden;
      color: var(--el-text-color-regular);

      &:hover {
        overflow: auto;
      }

      .release-custom-tree {
        color: var(--el-text-color-regular) !important;
        background: var(--wos-box-left-bg) !important;

        .custom-tree-node {
          display: flex;
          align-items: center;
          justify-content: space-between;
          width: 100%;
          color: var(--el-text-color-regular);

          .btns {
            display: flex;
            gap: 8px;
            place-content: flex-end space-between;
            align-items: center;
            padding-right: 8px;
            opacity: 0;

            .el-text {
              cursor: pointer;
            }
          }

          &:hover {
            label.label {
              width: 96px;
              overflow: hidden;
              text-overflow: ellipsis;
              white-space: nowrap;
            }

            .btns {
              opacity: 1;
            }
          }
        }
      }
    }
  }

  .content-right {
    flex: 1;
    padding: 0 8px;
  }
}
